<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .test_transform {
            width: 10px;
            height: 100px;
            background-color: #c685d9;
            margin: 100px auto;
            /* transform: translate(-100px); */
            transform-origin: left top;
            transform: rotate(120deg);
        }
    </style>
</head>

<body>
    <div class="test_transform"></div>
</body>

</html>